
pkgname=unixodbc
pkgver=2.3.6
pkgrel=1
pkgdesc="ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources"
arch=('x86_64')
license=('GPL2' 'LGPL2.1')
url="http://www.unixodbc.org/"
backup=('etc/odbc.ini' 'etc/odbcinst.ini')
depends=('readline' 'libtool')
options=('!libtool')
source=("http://www.unixodbc.org/unixODBC-$pkgver.tar.gz")
md5sums=('a8629fd2953b04b4639d0a9d8a5cf9d1')

build() {
    cd unixODBC-${pkgver}
    
    ./configure --prefix=/usr --sysconfdir=/etc
    make 
}

check() {
    cd unixODBC-${pkgver}
    
    make -k check
}

package() {
    cd unixODBC-${pkgver}
    
    make DESTDIR=${pkgdir} install 
}
